#!/usr/bin/env bash

.PHONY: .FORCE

SHELL = /bin/bash

# 当前目录
CUR_DIR := $(shell pwd)

build:
	gofmt -w -s src
	export GOPATH="$(shell pwd)" && go build ${args} -o server src/server.go

ws:
	gofmt -w -s src
	export GOPATH="$(shell pwd)" && go get github.com/gorilla/websocket

clean:
	rm -rf bin pkg deb *.deb

.PHONY: ws build clean
.DEFAULT_GOAL := build

